<?php

/* @var $this yii\web\View */
/* @var $form yii\bootstrap\ActiveForm */
/* @var $model \common\models\LoginForm */

use yii\helpers\Html;
use yii\bootstrap\ActiveForm;

$this->title = 'JOB';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="site-login">
    <h1><?= Html::encode($this->title) ?></h1>

    <p>发布职位:</p>

    <div class="row">
        <div class="col-lg-5">
            <?php $form = ActiveForm::begin(); ?>
                
                <?= $form->field($model, 'mid')->hiddenInput(['value'=>$mid])->label(false) ?>

                <?= $form->field($model, 'pname')->textInput(['autofocus' => true])->label("职位名称") ?>

                <?= $form->field($model, 'ptype')->textInput(['autofocus' => true])->label("职位类别") ?>

                <?= $form->field($model, 'jsort')->textInput(['autofocus' => true])->label("工作性质") ?>

                <?= $form->field($model, 'pay')->textInput(['autofocus' => true])->label("月薪范围") ?>

                 <?= $form->field($model, 'jcity')->textInput(['autofocus' => true])->label("工作城市") ?>

                 <?= $form->field($model, 'jsup')->textInput(['autofocus' => true])->label("工作经验") ?>

                 <?= $form->field($model, 'study')->dropDownList(['1'=>'本科','2'=>'博士','3'=>'研究生'], ['prompt'=>'请选择','style'=>'width:120px'])->label("学历") ?>
                
                 <?= $form->field($model, 'remail')->textInput(['autofocus' => true])->label("简历发送地址") ?>


                 <?= $form->field($model, 'desc')->textarea(['rows'=>3])->label("职位描述") ?>
                <div class="form-group">
                    <?= Html::submitButton('Login', ['class' => 'btn btn-primary', 'name' => 'login-button']) ?>
                </div>

            <?php ActiveForm::end(); ?>
        </div>
    </div>
</div>
